#ifndef __S_MOTOR_H
#define __S_MOTOR_H

#include "main.h"
#include "stm32f4xx_hal.h"
#include "gpio.h"
#include "tim.h"
#include "stdint.h"

void MOTORInit(uint8_t status);

void MOTORCtrl(float pwm,uint8_t motornum);

void MOTORPosCtrlInit(void);
void MOTORPosCtrl(float position1,float position2);

#endif